package com.TestDemo;

import java.util.ArrayList;
import java.util.Collections;

public class test01 {

    public static void main(String[] args) {
        String ss = "8888";
        System.out.println(ss.toString().length());



        String ss1 = "";
        if(ss1.toString().length()>0){
            System.out.println(">0");
        }else {
            System.out.println("null");
        }


        ArrayList arrayList = new ArrayList();
        for(int i = 0; i < 100;i++){
            arrayList.add(i);
        }

        System.out.println(arrayList.size());
        System.out.println(arrayList.toString());
        Integer i = 5;
        Double Double = 9.0211;
        System.out.println(i.toString());
        System.out.println(Double.toString());

        test01 t = new test01();

        System.out.println(t.toString());

        ArrayList<Integer> strings = new ArrayList<>();
        strings.add(11);
        strings.add(2);
        strings.add(13);
        strings.add(31);
        strings.add(5);
        Collections.sort(strings,(s1,s2)->(s1-s2));


        System.out.println(strings.toString());


    }


}
